﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModel
{
    public class HandleData808
    {
        public string phoneNumber { get; set; }
        public int msgId { get; set; }
        public int seqId { get; set; }
        public int encry { get; set; }
        public bool subPackage { get; set; }
        public bool multiMedia { get; set; }
        public int bodyLength { get; set; }
        public ushort totalPacket { get; set; }
        public ushort curPacket { get; set; }
        public byte[] body { get; set; }
        public byte[] allbs { get; set; }
        public DeviceInfo deviceInfo { get; set; }
        public IntPtr client { get; set; }

        public override string ToString()
        {
            return string.Format("消息ID={0},消息流水号={1},数据加密方式={2},分包={3},多媒体数据={4},消息体长度={5},消息总包数={6},包序号={7},手机号={8}",
               msgId.ToString("X2"), seqId, encry, subPackage, multiMedia, bodyLength, totalPacket, curPacket, phoneNumber);
        }

    }
}
